import pytest

pytest.main([r'C:\Appium_127\test_cases\test_search_page.py','--alluredir=../UIreport','--clean-alluredir'])
#tesp2.命令行运行allure serve .\UIreport\